package person.bing.fbcloud.service;

import cn.hutool.json.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import person.bing.fbcloud.SysUserInfoVo;
import person.bing.fbcloud.common.core.util.R;
import person.bing.fbcloud.entity.SysLog;
import person.bing.fbcloud.entity.SysUser;

/**
 * @author: mengfanbing
 * @date: 2020/5/18 11:25
 */
@Component
@FeignClient(value = "fbcloud-upms-biz")
public interface UpmsService {
    @PostMapping("/sysLog")
    R<SysLog> saveSysLog(SysLog sysLog);

    @PostMapping("/sysuser/getUserInfoByName")
    R<SysUserInfoVo> getUserInfoByName(JSONObject jsonObject);



}
